programming4us
           
 
 
Windows

Windows 7 : Turning Off Your Windows 7 Computer from Anywhere

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
11/20/2010 11:33:55 AM
If you’re working at a network computer and you decide you need to shut down or restart your own PC, you can actually do it from your remote location on the network.

Note

The technique in this section works with Windows 7, but only if the Windows 7 PC has User Account Control turned off. Personally, I think the security of UAC immensely outweighs the convenience of a remote shutdown, so I highly recommend leaving UAC alone and skipping this tweak for your Windows 7 PC. As a workaround, set up your Windows 7 machine as a Remote Desktop host , which enables you to connect to the PC over the network and shut it down manually from there.


To shut down a remote computer, you must run SHUTDOWN using an account that has administrator privileges on the remote computer. If the logged on user account on your local machine also exists on the remote machine and is a member of the Administrators group, you automatically have sufficient privileges to shut down the remote PC.

You do this by running SHUTDOWN with the following general syntax:

shutdown /s /m \\ComputerName

Here, ComputerName is the name of the remote PC. For example, the following command shuts down a remote PC named GAMINGPC:

shutdown /s /m \\gamingpc

If the local account you’re logged on with does not exist on the remote computer, or if it does exist but doesn’t have administrator rights, you need to run the SHUTDOWN command using a remote administrator account. This requires you to use the RUNAS command-line tool:

RUNAS /user:ComputerName\UserName cmd

ComputerNameThe name of the remote computer
UserNameThe name of the account under which you want to run cmd
cmdThe command you want to run

For a remote shutdown, UserName will be a remote administrator-level account, and cmd will be the SHUTDOWN command, enclosed in quotation marks. Here’s an example that uses an account named Paul to shut down a remote computer named OFFICEPC in 120 seconds:

runas /user:officepc\paul "shutdown /s /m \\officepc /t 120"

When you enter the RUNAS command, Windows prompts you for the account password:

Enter the password for officepc\paul:

Type the password (it doesn’t appear onscreen) and press Enter.

Tip

If you need to embed a quotation mark in the cmd portion of RUNAS, precede it with a backslash (\). Here’s an example:

runas /user:officepc\paul "shutdown /s /m \\officepc /c \"Comment\""


If you need to cancel a pending shutdown on a remote computer, run SHUTDOWN with the /A switch before the timeout interval is over:

runas /user:officepc\paul "shutdown /a /m \\officepc"
Other -----------------
- Windows 7 : Setting Up One-Click Restarts and Shutdowns
- Windows 7 : Useful Windows 7 Logon Strategies
- Windows 7 : Customizing Startups with the Advanced Options Menu
- Windows 7 : Customizing Startups Using the Boot Configuration Data
- Windows Azure : Queue Service Architecture
- Windows 7 : Customizing Windows 7’s Open With List
- Windows 7 : Customizing the New Menu
- Windows 7 : Creating a New File Type
- Windows Vista - Sharing Files and Folders : Accessing a Shared Folder
- Windows Vista - Sharing Files and Folders : Standard Sharing
- Windows Vista - Sharing Files and Folders : Public Folder
- Windows Vista - Sharing Files and Folders : Network Discovery and Browsing
- Windows 7 : Manage Your Network - Working with a Homegroup
- Windows 7 : Manage Your Network - Creating a Homegroup
- Windows 7 : Manage Your Network - Connecting to a Network
- Multibooting Windows 7
- Windows 7 Customization : Working with Existing File Types
- Windows 7 Customization : Understanding File Types
- Windows Azure Service Life Cycle
- Backing Up and Restoring with ntbackup
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us